﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000299 RID: 665
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueQuitCsReq : IMessage<ChessRogueQuitCsReq>, IMessage, IEquatable<ChessRogueQuitCsReq>, IDeepCloneable<ChessRogueQuitCsReq>, IBufferMessage
	{
		// Token: 0x170008AC RID: 2220
		// (get) Token: 0x06001DD3 RID: 7635 RVA: 0x00055066 File Offset: 0x00053266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueQuitCsReq> Parser
		{
			get
			{
				return ChessRogueQuitCsReq._parser;
			}
		}

		// Token: 0x170008AD RID: 2221
		// (get) Token: 0x06001DD4 RID: 7636 RVA: 0x0005506D File Offset: 0x0005326D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueQuitCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170008AE RID: 2222
		// (get) Token: 0x06001DD5 RID: 7637 RVA: 0x0005507F File Offset: 0x0005327F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueQuitCsReq.Descriptor;
			}
		}

		// Token: 0x06001DD6 RID: 7638 RVA: 0x00055086 File Offset: 0x00053286
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitCsReq()
		{
		}

		// Token: 0x06001DD7 RID: 7639 RVA: 0x0005508E File Offset: 0x0005328E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitCsReq(ChessRogueQuitCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001DD8 RID: 7640 RVA: 0x000550A7 File Offset: 0x000532A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQuitCsReq Clone()
		{
			return new ChessRogueQuitCsReq(this);
		}

		// Token: 0x06001DD9 RID: 7641 RVA: 0x000550AF File Offset: 0x000532AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueQuitCsReq);
		}

		// Token: 0x06001DDA RID: 7642 RVA: 0x000550BD File Offset: 0x000532BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueQuitCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06001DDB RID: 7643 RVA: 0x000550DC File Offset: 0x000532DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001DDC RID: 7644 RVA: 0x00055102 File Offset: 0x00053302
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001DDD RID: 7645 RVA: 0x0005510A File Offset: 0x0005330A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001DDE RID: 7646 RVA: 0x00055113 File Offset: 0x00053313
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001DDF RID: 7647 RVA: 0x0005512C File Offset: 0x0005332C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001DE0 RID: 7648 RVA: 0x00055152 File Offset: 0x00053352
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueQuitCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001DE1 RID: 7649 RVA: 0x0005516F File Offset: 0x0005336F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001DE2 RID: 7650 RVA: 0x00055178 File Offset: 0x00053378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000C4C RID: 3148
		private static readonly MessageParser<ChessRogueQuitCsReq> _parser = new MessageParser<ChessRogueQuitCsReq>(() => new ChessRogueQuitCsReq());

		// Token: 0x04000C4D RID: 3149
		private UnknownFieldSet _unknownFields;
	}
}
